package com.ruoyi.yljf.domain;

import com.baomidou.mybatisplus.annotation.*;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BasePlusEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.util.Date;

/**
 * 系统消息对象 yljf_sys_news
 * 
 * @author TTTc
 * @date 2025-02-27
 */
@Data
@TableName(value = "yljf_sys_news")
public class News implements Serializable {
    @TableField(exist = false)
    private static final long serialVersionUID = 1L;

    /** 主键id */
    @TableId(type = IdType.AUTO)
    private Long id;

    /** 系统消息内容 */
    @Excel(name = "系统消息内容")
    private String sysMes;

    /** 用户id */
    @Excel(name = "用户id")
    private Long userId;

    /** 0-未读   1-已读 */
    @Excel(name = "0-未读   1-已读")
    private Integer isRead;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;



}
